<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form method="get" action="${pageContext.request.contextPath}/login">
    用户名<input name="username" type="text" />
    密码<input name="password" type="password"/>
    <input type="submit">
</form>
</body>
</html>
